Sorts the data collection according to the specified sort descriptions.
シンタックス
'宣言
Public Overloads Shared Function SortAsync(Of As Class)( _
ByVal As IDataCollection(Of T), _
ByVal () As SortDescription, _
Optional ByVal As System.Threading.CancellationToken _
) As System.Threading.Tasks.Task
public static System.Threading.Tasks.Task SortAsync<>(
IDataCollection<T> ,
SortDescription[] ,
System.Threading.CancellationToken
)
where T: class
パラメータ
- dataCollection
- The data collection.
- sortDescriptions
- The sort descriptions that determine how the data will be sort.
- cancellationToken
- The cancellation token.
型パラメータ
- T
参照